package com.tbit.uqbike.object.pojo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 语音类型对象 voicetype
 *
 * @author zbr
 * @date 2023-11-02
 */
public class VoiceType {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer voiceId;

    /**
     * 语音类型名称
     */
    private String voiceName;

    /**
     * 语音类型值
     */
    private String voiceValue;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date creatTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updataTime;

    /**
     * 区域id
     */

    private Integer accountId;


    public void setVoiceId(Integer voiceId) {
        this.voiceId = voiceId;
    }

    public Integer getVoiceId() {
        return voiceId;
    }

    public void setVoiceName(String voiceName) {
        this.voiceName = voiceName;
    }

    public String getVoiceName() {
        return voiceName;
    }

    public void setVoiceValue(String voiceValue) {
        this.voiceValue = voiceValue;
    }

    public String getVoiceValue() {
        return voiceValue;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setUpdataTime(Date updataTime) {
        this.updataTime = updataTime;
    }

    public Date getUpdataTime() {
        return updataTime;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public Integer getAccountId() {
        return accountId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("voiceId", getVoiceId())
                .append("voiceName", getVoiceName())
                .append("voiceValue", getVoiceValue())
                .append("creatTime", getCreatTime())
                .append("updataTime", getUpdataTime())
                .append("accountId", getAccountId())
                .toString();
    }
}
